<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/include.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>记录类型列表</title>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript">
	function back(){
		window.location.href="${ctx}/recordType!selectList.action";
	}
</script>
</head>
<body>
	<div id="viewType">
	<form action="${ctx}/recordType!updateOrAddType.action">
		<div id="typeId">
			<input type="hidden" name="type.id" value="${type.id}">
		</div>
		<div id="type">
			类型名称:<input type="text" name="type.type" value="${type.type}">
		</div>
		<div id="createTime">
			<input type="hidden" name="type.createTime" value="${type.createTime}">
		</div>
		<div id="description">
			描述:<input type="text" name="type.description" value="${type.description}">
		</div>
		
		
		<div id="save">
			<input type="submit" value="保存" >
		</div>
		
		<div id="back">
			<input type="button" value="返回" onclick="back()">
		</div>
		</form>
	</div>
	<a href="${ctx}/main!backToIndex.action">返回到首页</a>
</body>
</html>
